package com.junqi.live.room.domain.convert;

import com.junqi.live.room.domain.bo.LiveRoomBo;
import com.junqi.live.room.infra.basic.entity.LiveRoom;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface LiveRoomBoConvert {

    LiveRoomBoConvert INSTANCE = Mappers.getMapper(LiveRoomBoConvert.class);

    LiveRoom convertBOToEntity(LiveRoomBo liveRoomBo);

    LiveRoomBo convertEntityToBO(LiveRoom liveRoom);

}
